<p class="Paragraph"><help:paragraphinfo state="U" number="65" xmlns:help="http://openoffice.org/2000/help"/><help:help-text value="visible" xmlns:help="http://openoffice.org/2000/help">Returns TRUE if all arguments are TRUE.</help:help-text> If one of the elements is FALSE, this function returns the FALSE value.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="66" xmlns:help="http://openoffice.org/2000/help"/>The arguments are either logical expressions themselves (TRUE, 1<5, 2+3=7, B8<10) that return logical values, or arrays (A1:C3) containing logical values.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="67" xmlns:help="http://openoffice.org/2000/help"/>If an argument entered as am array contains text or empty cells, these will be ignored. For example, formula =AND(0<C9:C16; C9:C16<10) returns TRUE if array (C9:C16) contains values between 0 and 10, and cells containing text or empty cells may be included.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="68" xmlns:help="http://openoffice.org/2000/help"/>If the range indicated does not contain any logical values, AND returns the error value #VALUE!</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="32" xmlns:help="http://openoffice.org/2000/help"/>AND(Logical value 1; Logical value 2 ...Logical value 30)</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="33" xmlns:help="http://openoffice.org/2000/help"/><span class="T1">Logical value 1; Logical value 2 ...Logical value 30</span> are conditions to be checked. All conditions can be either TRUE or FALSE. If a range is entered as a parameter, the logical values of the cells contained in that range are linked by the AND condition. The result is TRUE if the logical value in all cells within the cell range is TRUE.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="35" xmlns:help="http://openoffice.org/2000/help"/>The logical values of entries 12<13; 14>12, and 7<6 are to be checked:</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="4" xmlns:help="http://openoffice.org/2000/help"/><help:help-text value="visible" xmlns:help="http://openoffice.org/2000/help">Returns the logical value FALSE.</help:help-text> Two or more arguments are linked by the logical operators AND or OR. The operator returns FALSE, if required by the content of the arguments.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="8" xmlns:help="http://openoffice.org/2000/help"/>If A=TRUE and B=FALSE the following examples appear:</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="9" xmlns:help="http://openoffice.org/2000/help"/>A AND B returns FALSE</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="10" xmlns:help="http://openoffice.org/2000/help"/>A OR B returns TRUE</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="49" xmlns:help="http://openoffice.org/2000/help"/><help:help-text value="visible" xmlns:help="http://openoffice.org/2000/help">Specifies a logical test to be performed.</help:help-text></p>
<p class="Paragraph"><help:paragraphinfo state="U" number="52" xmlns:help="http://openoffice.org/2000/help"/><span class="T1">Test</span> is any value or expression that can be TRUE or FALSE.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="53" xmlns:help="http://openoffice.org/2000/help"/><span class="T1">Then_value</span> (optional) is the value that is returned if the logical test is TRUE.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="54" xmlns:help="http://openoffice.org/2000/help"/><span class="T1">Otherwise_value</span> (optional) is the value that is returned if the logical test is FALSE.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="57" xmlns:help="http://openoffice.org/2000/help"/>IF(A1>5;100;"too small") If the value in A1 is higher than 5, the value 100 is entered in the current cell; otherwise, <span class="T1">too small</span> is entered in text format.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="16" xmlns:help="http://openoffice.org/2000/help"/><span class="T1">Logical Value</span> is any value to be reversed.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="61" xmlns:help="http://openoffice.org/2000/help"/><help:help-text value="visible" xmlns:help="http://openoffice.org/2000/help">Returns TRUE if at least one argument is TRUE.</help:help-text> This function returns the value FALSE, if all the arguments have the logical value FALSE.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="62" xmlns:help="http://openoffice.org/2000/help"/>The arguments are either logical expressions themselves (TRUE, 1<5, 2+3=7, B8<10) that return logical values, or arrays (A1:C3) containing logical values.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="63" xmlns:help="http://openoffice.org/2000/help"/>If an argument entered as an array contains text or empty cells, these will be ignored. For example, formula =OR(0<C9:C16; FALSE) returns TRUE if array (C9:C16) contains values greater than 0, and cells containing text or empty cells may be included.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="64" xmlns:help="http://openoffice.org/2000/help"/>If the range indicated does not contain any logical values, OR returns the error value #VALUE!</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="23" xmlns:help="http://openoffice.org/2000/help"/>OR(Logical value 1; Logical value 2 ...Logical value 30)</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="24" xmlns:help="http://openoffice.org/2000/help"/><span class="T1">Logical value 1; Logical value 2 ...Logical value 30</span> are conditions to be checked. All conditions can be either TRUE or FALSE. If a range is entered as a parameter, the Logical values of the cells contained in that range are linked by the OR condition. The result is TRUE if the Logical value in a cell within the cell range is TRUE.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="26" xmlns:help="http://openoffice.org/2000/help"/>The logical values of entries 12<11; 13>22, and 45=45 are to be checked.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="39" xmlns:help="http://openoffice.org/2000/help"/><help:help-text value="visible" xmlns:help="http://openoffice.org/2000/help">The logical value is set to TRUE.</help:help-text> The logical function TRUE verifies two arguments and returns the TRUE value if both values match.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="43" xmlns:help="http://openoffice.org/2000/help"/>If A=TRUE and B=FALSE the following examples appear:</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="44" xmlns:help="http://openoffice.org/2000/help"/>A AND B returns FALSE</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="45" xmlns:help="http://openoffice.org/2000/help"/>A OR B returns TRUE</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="46" xmlns:help="http://openoffice.org/2000/help"/>(NOT) A AND B returns TRUE</p>